package com.zlx.guguanjia.service;

import com.github.pagehelper.PageInfo;
import com.zlx.guguanjia.entity.SysResource;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SysResourceService
 * @Description TODO
 * @Author Edward
 * @Date 2020/11/4 22:31
 */
public interface SysResourceService extends BaseService<SysResource,Long>{
    List<SysResource> selectResourceByRid(Long rid);

    List<SysResource> selctByUid(Long uid);

    List<SysResource> selectResource();

    List<SysResource> selectParentMenuSources();

    PageInfo<SysResource> selectMenuSources(int start,int pageSize,Map<String, Object> map);
}
